﻿CREATE PROCEDURE admin.s_CLR_MakeLinq AS
CREATE ASSEMBLY [SMdiagnostics]
AUTHORIZATION [dbo]
FROM 'C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\SMdiagnostics.dll'
WITH PERMISSION_SET = UNSAFE

CREATE ASSEMBLY [System.Runtime.Serialization]
AUTHORIZATION [dbo]
FROM 'C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\system.runtime.serialization.dll'
WITH PERMISSION_SET = UNSAFE

CREATE ASSEMBLY [System.Data.Linq]
AUTHORIZATION [dbo]
FROM 'C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.Linq.dll'
WITH PERMISSION_SET = UNSAFE
